<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>机构信息详情</title>
		<link rel="stylesheet" href="css/style.css" type="text/css"></link>
		<jsp:include page="../common/xmeta.jsp"></jsp:include>
		<script type="text/javascript">
			function closeTab() {
				parent.$('#content').tabs('close', '机构信息详情');
			}
		</script>
	</head>

	<body>
		<table width="80%" class="tab_border" align="center">
			<caption>
				<h2>
					机构信息详情
				</h2>
			</caption>

			<tr>
				<td width="20%">
					机构名称：
				</td>
				<td width="30%">
					<label>
						${iDepartment.deptName}
					</label>
				</td>

				<td>
					组别类型：
				</td>
				<td>
					<s:if test="#request.iDepartment.type == 0">课题组</s:if>
					<s:elseif test="#request.iDepartment.type == 1">公司</s:elseif>
					<s:else>
					单位
					</s:else>
				</td>
			</tr>

			<tr>
				<td>
					级别
				</td>
				<td align="left">
					<s:if test="#request.iDepartment.parentID == 0">
						大组 
					</s:if>
					<s:else>
						子组: ${iDepartment.parentName}, 编号: ${iDepartment.parentID}
					</s:else>
				</td>
				<td>
					组别编号
				</td>
				<td>
					${iDepartment.deptNo}
				</td>
			</tr>

			<tr>
				<td>
					付款账号
				</td>
				<td>
					${iDepartment.payCode}
				</td>
				<td>
					账户金额
				</td>
				<td>
					${iDepartment.balance}
				</td>
			</tr>


			<tr>
				<td>
					折扣率
				</td>
				<td>
					${iDepartment.rebate}
				</td>
				<td>
					课题组长
				</td>
				<td>
					${iDepartment.empName}
				</td>
			</tr>


			<tr>
				<td>
					电话号码
				</td>
				<td>
					${iDepartment.phone}
				</td>
				<td>
					传真号码
				</td>
				<td>
					${iDepartment.fax}
				</td>
			</tr>

			<tr>
				<td>
					透支额度
				</td>
				<td>
					${iDepartment.facilityExtent}
				</td>

				<td>
					邮政编码
				</td>
				<td>
					${iDepartment.postCode}
				</td>
			</tr>

			<tr>
				<td>
					联系地址
				</td>
				<td colspan="3">
					${iDepartment.address}
				</td>
			</tr>

			<tr>
				<td>
					备注
				</td>
				<td colspan="3">
					${iDepartment.remark}
				</td>
			</tr>

			<tr>
				<td colspan="4" align="center">
					<a id="sure" href="#" class="easyui-linkbutton" onclick="closeTab()">确 定</a>
				</td>
			</tr>
		</table>
	</body>
</html>